Skip to content

[bot] Fix #1355: Taxonomy filter on collections fails silently on Postgres: SELECT DISTINCT * is invalid when content table has a json column (e.g. portableText field)#1362

Open
emdashbot[bot] wants to merge 1 commit into
mainfrom
bot/fix-1355

Conversation

@emdashbot

@emdashbot emdashbot Bot commented Jun 5, 2026

Copy link
Copy Markdown
Contributor

Closes #1355.

@os-bridge confirmed this fix resolves the issue:

Yes, fixed.

Verification setup:

  • Restored a dump of our production Postgres (PG 18) into a local container.
  • Explicitly reverted ec_posts.content back to json (we had applied a jsonb workaround in prod) to recreate the original failing state.
  • Before fix: the loader query reproduces literally — ERROR: could not identify an equality operator for type json.
  • After installing emdash@bot/fix-1355: GET /fr/blog/category/<slug> returns HTTP 200 and renders the expected article instead of the empty state.

Thanks for the quick turnaround.

See #1355 for the investigation trail.

Opened automatically by the investigation bot. A maintainer should review before merge.

@changeset-bot

changeset-bot Bot commented Jun 5, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: fb3d94e

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 14 packages
Name Type
emdash Patch
@emdash-cms/cloudflare Patch
@emdash-cms/sandbox-workerd Patch
@emdash-cms/fixture-perf-site Patch
@emdash-cms/perf-demo-site Patch
@emdash-cms/cache-demo-site Patch
@emdash-cms/admin Patch
@emdash-cms/auth Patch
@emdash-cms/blocks Patch
@emdash-cms/gutenberg-to-portable-text Patch
@emdash-cms/x402 Patch
create-emdash Patch
@emdash-cms/auth-atproto Patch
@emdash-cms/plugin-embeds Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Updated (UTC)
✅ Deployment successful!
View logs
emdash-demo-cache fb3d94e Jun 05 2026, 10:45 AM

@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Updated (UTC)
✅ Deployment successful!
View logs
docs fb3d94e Jun 05 2026, 10:44 AM

@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Updated (UTC)
❌ Deployment failed
View logs
emdash-playground fb3d94e Jun 05 2026, 10:44 AM

@pkg-pr-new

pkg-pr-new Bot commented Jun 5, 2026

Copy link
Copy Markdown

Open in StackBlitz

@emdash-cms/admin

npm i https://pkg.pr.new/@emdash-cms/admin@1362

@emdash-cms/auth

npm i https://pkg.pr.new/@emdash-cms/auth@1362

@emdash-cms/auth-atproto

npm i https://pkg.pr.new/@emdash-cms/auth-atproto@1362

@emdash-cms/blocks

npm i https://pkg.pr.new/@emdash-cms/blocks@1362

@emdash-cms/cloudflare

npm i https://pkg.pr.new/@emdash-cms/cloudflare@1362

@emdash-cms/contentful-to-portable-text

npm i https://pkg.pr.new/@emdash-cms/contentful-to-portable-text@1362

emdash

npm i https://pkg.pr.new/emdash@1362

create-emdash

npm i https://pkg.pr.new/create-emdash@1362

@emdash-cms/gutenberg-to-portable-text

npm i https://pkg.pr.new/@emdash-cms/gutenberg-to-portable-text@1362

@emdash-cms/plugin-cli

npm i https://pkg.pr.new/@emdash-cms/plugin-cli@1362

@emdash-cms/plugin-types

npm i https://pkg.pr.new/@emdash-cms/plugin-types@1362

@emdash-cms/registry-client

npm i https://pkg.pr.new/@emdash-cms/registry-client@1362

@emdash-cms/registry-lexicons

npm i https://pkg.pr.new/@emdash-cms/registry-lexicons@1362

@emdash-cms/sandbox-workerd

npm i https://pkg.pr.new/@emdash-cms/sandbox-workerd@1362

@emdash-cms/x402

npm i https://pkg.pr.new/@emdash-cms/x402@1362

@emdash-cms/plugin-ai-moderation

npm i https://pkg.pr.new/@emdash-cms/plugin-ai-moderation@1362

@emdash-cms/plugin-atproto

npm i https://pkg.pr.new/@emdash-cms/plugin-atproto@1362

@emdash-cms/plugin-audit-log

npm i https://pkg.pr.new/@emdash-cms/plugin-audit-log@1362

@emdash-cms/plugin-color

npm i https://pkg.pr.new/@emdash-cms/plugin-color@1362

@emdash-cms/plugin-embeds

npm i https://pkg.pr.new/@emdash-cms/plugin-embeds@1362

@emdash-cms/plugin-field-kit

npm i https://pkg.pr.new/@emdash-cms/plugin-field-kit@1362

@emdash-cms/plugin-forms

npm i https://pkg.pr.new/@emdash-cms/plugin-forms@1362

@emdash-cms/plugin-webhook-notifier

npm i https://pkg.pr.new/@emdash-cms/plugin-webhook-notifier@1362

commit: fb3d94e

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Taxonomy filter on collections fails silently on Postgres: SELECT DISTINCT * is invalid when content table has a json column (e.g. portableText field)

0 participants